#ifndef _FX_H
#define _FX_H

class Animation;
struct Point2;
#include "quad.h"

#define FX_DIRECTED 1
#define FX_CENTERED 2

class Fx{

public:
	Fx();
	~Fx();
	Fx( const Fx &in );

	Quad<Point2*>* getQuad(Point2* position, Point2* dirrection);

	int type;
	int layer;
	Animation* animation;
	bool repeat;
	Point2* position;
	Point2* dirrection;	
//	float width, length;

	Quad<Point2*>* quad;	// created separately
};

#endif